package com.examination.system.instructor.response;

import com.examination.framework.model.response.ResultCode;

import lombok.ToString;

/**
 * @author 寇淇芮
 * @Date 2019/10/27 20:49
 */
@ToString
public enum CurrencyCode implements ResultCode {
    DataCannotBeEmpty(false,10001,"数据不能为NULL值");

    private boolean success;
    private String  message;
    private int code;

    private CurrencyCode(boolean success, int code, String message ){
        this.code = code;
        this.success = success;
        this.message = message;
    }
    @Override
    public boolean success() {
        return this.success;
    }

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String message() {
        return this.message;
    }}
